package com.itheima.ui;

import javax.swing.*;

public class LoginFrame extends JFrame {
    public LoginFrame() {
        this.setSize(488, 430);
        this.setTitle("拼图游戏-登录");

//        设置界面居中
        this.setLocationRelativeTo(null);
//        设置关闭模式
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        this.setVisible(true);
    }
}
